// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Entity_hm_fetchaccounts_uids
// * CreateDate    : 2014-06-05 18:29:57
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:57
// * LastChanger   : 2014-06-05 18:29:57
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using Suzsoft.Smart.EntityCore;
using ESOL.Common.Schema;
using ESOL.Common;

namespace ESOL.Common.Entity
{
    [DataContract]
	[Serializable]
	public partial class HmFetchaccountsUidsEntity : EntityBase
    {
        public HmFetchaccountsUidsTable TableSchema
        {
            get
            {
                return HmFetchaccountsUidsTable.Current;
            }
		}
		
		public HmFetchaccountsUidsEntity()
        {

        }
		
		public HmFetchaccountsUidsEntity(DataRow dr)
        {
			if(dr == null)
			{
				return;
			}
			this.Uidid = Convert.ToInt32(CommonFunctions.ToObject(dr["uidid"]));
			this.Uidfaid = Convert.ToInt32(CommonFunctions.ToObject(dr["uidfaid"]));
			this.Uidvalue = Convert.ToString(CommonFunctions.ToObject(dr["uidvalue"]));
			this.Uidtime = Convert.ToDateTime(CommonFunctions.ToObject(dr["uidtime"]));
        }
		
		public HmFetchaccountsUidsEntity(DataRowView dr)
        {
			if(dr == null)
			{
				return;
			}
			this.Uidid = Convert.ToInt32(CommonFunctions.ToObject(dr["uidid"]));
			this.Uidfaid = Convert.ToInt32(CommonFunctions.ToObject(dr["uidfaid"]));
			this.Uidvalue = Convert.ToString(CommonFunctions.ToObject(dr["uidvalue"]));
			this.Uidtime = Convert.ToDateTime(CommonFunctions.ToObject(dr["uidtime"]));
        }

        public override TableInfo OringTableSchema
        {
            get
            {
                return HmFetchaccountsUidsTable.Current;
            }
        }
		
		#region Perporty List
        [DataMember]
        public int Uidid
        {
            get { return Convert.ToInt32(GetData(HmFetchaccountsUidsTable.C_uidid)); }
            set { SetData(HmFetchaccountsUidsTable.C_uidid, value); }
        }
		
        [DataMember]
        public int Uidfaid
        {
            get { return Convert.ToInt32(GetData(HmFetchaccountsUidsTable.C_uidfaid)); }
            set { SetData(HmFetchaccountsUidsTable.C_uidfaid, value); }
        }
		
        [DataMember]
        public string Uidvalue
        {
            get { return Convert.ToString(GetData(HmFetchaccountsUidsTable.C_uidvalue)); }
            set { SetData(HmFetchaccountsUidsTable.C_uidvalue, value); }
        }
		
        [DataMember]
        public DateTime Uidtime
        {
            get { return Convert.ToDateTime(GetData(HmFetchaccountsUidsTable.C_uidtime)); }
            set { SetData(HmFetchaccountsUidsTable.C_uidtime, value); }
        }
		
		#endregion
	}
	
	
}	

